Component org.nuxeo.ecm.platform.comment.service.notification
In bundle org.nuxeo.ecm.platform.comment
Contributions
- org.nuxeo.ecm.platform.comment.service.notification--notifications
- org.nuxeo.ecm.platform.comment.service.notification--templates
- org.nuxeo.ecm.platform.comment.service.notification--notificationListenerVeto
- org.nuxeo.ecm.platform.comment.service.notification--notificationListenerHook
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.platform.comment.service.notification">
<extension
target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
point="notificationListenerHook">
<hookListener name="commentNotification" class="org.nuxeo.ecm.platform.comment.listener.CommentNotificationListener"/>
</extension>
<extension
target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
point="notifications">
<notification name="CommentAdded" channel="email" enabled="true" availableIn="*"
subject="New comment on '${docTitle}'"
autoSubscribed="false" template="commentAdded" label="notifications.name.CommentAdded">
<event name="commentAdded"/>
</notification>
</extension>
<extension
target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
point="templates">
<template name="commentAdded" src="templates/commentAdded.ftl" />
</extension>
<extension
target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
point="notificationListenerVeto">
<veto name="CommentCreationVeto" class="org.nuxeo.ecm.platform.comment.notification.CommentCreationVeto" />
</extension>
</component>